package com.icetech.eom.domain.tx;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangzw
 * @since 2018-11-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tx_server")
@ApiModel(value="Server对象", description="")
public class Server implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "服务器名称")
    private String serverName;

    @ApiModelProperty(value = "服务器类型(1-分配服务器；2=P2P服务器)")
    private String serverType;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "排列顺序" )
    private Integer orderNo;

    @ApiModelProperty(value = "是否可用(1 可用，0 不可用)")
    private Boolean isEnabled;

    @ApiModelProperty(value = "系统标志(0表示非系统，1表示预装数据)")
    private Boolean isSystem;

    @ApiModelProperty(value = "创建人")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private String modifier;

    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;

    @ApiModelProperty(value = "机构ID")
    private Long orgId;
}
